package com.xnewtech.xplatform.swan.system.core.menus;


import com.xnewtech.xplatform.swan.libs.scanner.stereotype.ApiResource;
import com.xnewtech.xplatform.swan.model.web.response.ResponseData;
import org.springframework.web.bind.annotation.RestController;

/**
 * 微服务管理及监控菜单标识控制器
 *
 * @author xnew
 * @Date 2020/12/11 17:47
 */
@RestController
@ApiResource(name = "管理监控", path = "/manageMonitor")
public class ManageMonitorMenuFlagController {
    
    @ApiResource(name = "管理监控菜单", path = "/manageMonitorMenu", menuFlag = true)
    public ResponseData manageMonitorMenu() {
        return ResponseData.success();
    }
    
    @ApiResource(name = "配置中心", path = "/configCenter", menuFlag = true)
    public ResponseData configCenter() {
        return ResponseData.success();
    }
    
    @ApiResource(name = "链路追踪", path = "/linkTracking", menuFlag = true)
    public ResponseData linkTracking() {
        return ResponseData.success();
    }
    
    @ApiResource(name = "服务监控", path = "/serviceMonitoring", menuFlag = true)
    public ResponseData serviceMonitoring() {
        return ResponseData.success();
    }
    
    @ApiResource(name = "熔断流控", path = "/flowControlFusing", menuFlag = true)
    public ResponseData flowControlFusing() {
        return ResponseData.success();
    }
    
    @ApiResource(name = "资源监视", path = "/resourceMonitoring", menuFlag = true)
    public ResponseData resourceMonitoring() {
        return ResponseData.success();
    }
    
    @ApiResource(name = "文件系统", path = "/fileSystem", menuFlag = true)
    public ResponseData fileSystem() {
        return ResponseData.success();
    }
}
